
#ifndef _CategoryWidget_H_
#define _CategoryWidget_H_

#include "RibbonApi.hpp"

#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QLabel>
#include <QWidget>
#include <QMap>

namespace NSRibbon {

	class PannelWidget;

	class RIBBONAPI CategoryWidget : public QWidget {
	public:
		CategoryWidget(QWidget* p = nullptr);
		~CategoryWidget();
	public:
		PannelWidget* addPannel(QString name); 

		void addSeparator();
	private:
		int m_sep_num{0};
		QString m_category;
		QMap<QString, QWidget*> m_pannels;
		QHBoxLayout* m_layout;
	};

}


#endif